package com.sunmouse.okhttplib;


/**
 * Created by SC-002 on 2016/12/13.
 */
public class StringHttpResponseHandler implements StringHttpResponse {
    public void onSuccess(String response) {
    }

    public void onPreExecute() {
    }

    public void onFailure(Exception e) {
    }

    @Override
    public void onSuccess(String response, String flag) {
        this.onSuccess(response);
    }

    @Override
    public void onPreExecute(String flag) {
        this.onPreExecute();
    }

    @Override
    public void onFailure(Exception e, String flag) {
        this.onFailure(e);
    }
}
